﻿using System;

namespace Program10
{
    class Program
    {
        static void Main(string[] args)
        {
            string pwd = "123124";
            Console.WriteLine("密码明文:{0}",pwd);
            var enpwd = Encryption.GetEncryptString(pwd);
            Console.WriteLine("密码密文:{0}",enpwd);
            //var shapwd = Encryption.GetSHA(pwd);
            //Console.WriteLine("密码SHA密文:{0}", shapwd);


            //string pwd2 = "123124 ";
            //Console.WriteLine("密码明文:{0}", pwd2);
            //var md5pwd2 = Encryption.GetMd5(pwd2);
            //Console.WriteLine("密码MD5密文:{0}", md5pwd2);
            //var shapwd2 = Encryption.GetSHA(pwd);
            //Console.WriteLine("密码SHA密文:{0}", shapwd2);


            ////再做二次加密
            //var finalmd5 = Encryption.GetMd5(md5pwd2);
            //Console.WriteLine("二次MD5密文{0}",finalmd5);
            //var finalmd512 = Encryption.GetSHA(md5pwd2);
            //Console.WriteLine("二次SHA密文{0}", finalmd512);
        }
    }
}
